HID: usbhid: extend polling interval configuration to joysticks
authorTobias Jakobi <tjakobi@math.uni-bielefeld.de>
Sat, 25 Feb 2017 19:27:27 +0000 (20:27 +0100)
committerpopcornmix <popcornmix@gmail.com>
Wed, 24 May 2017 17:06:14 +0000 (18:06 +0100)
commit3db4135e6fbae417e0b297afa680c6caeaf52c19
tree7f819807fc4a51e23d7b42ff67d7b0ea2debc694
parentf0c8de191e62a73a746018e24894e500f1f11f1a
HID: usbhid: extend polling interval configuration to joysticks

For mouse devices we can currently change the polling interval
via usbhid.mousepoll. Implement the same thing for joysticks, so
users can reduce input latency this way.

This has been tested with a Logitech RumblePad 2 with jspoll=2,
resulting in a polling rate of 500Hz (verified with evhz).

Signed-off-by: Tobias Jakobi <tjakobi@math.uni-bielefeld.de>
Acked-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Documentation/kernel-parameters.txt
drivers/hid/usbhid/hid-core.c